use "stag hunt", clear
tab OwnAction treatment, column

gen bare=treatment>2 

gen B=OwnAction==2

sort session MatchingGroup

by session MatchingGroup: egen test=mean(B)
by session MatchingGroup: gen index=_n==1


ranksum test if index==1 , by(bare)
